home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Java Primer Plus
/
Java Primer Plus (Waite Group Proess)(1996).iso
/
chapter4
/
MyStandAlone.java
< prev
next >
Wrap
Text File
|
1995-12-31
|
417b
|
32 lines
//
// Java Primer Plus
// Paul Tyma
//
// Chapter 4
//
import java.lang.Math;
public class MyStandAlone {
public static void main (String args[]) throws java.io.IOException
{
float x,y;
int t;
t = 11;
t = t / 4;
x = (float)java.lang.Math.sin(4.5);;
y = 10f;
// x = ((int)x|3)/4*y+1.2;
// t = ((int)x|3)/4*y+1;
System.out.println(x);
// x = ( ( 5 > 4) || (8.0/0 < 1 )) ? ((int)x|3)/4*y+1:0;
}
}